package springbootreactor;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import reactor.bus.EventBus;
import reactor.spring.context.annotation.Consumer;
import reactor.spring.context.annotation.Selector;

import javax.annotation.Resource;

@Consumer
public class SayhitResultHandler {

    @Resource
    private EventBus eventBus;
    private static Log log=LogFactory.getLog(SayhitResultHandler.class);

    @Selector(value="testSayhitResult")
    public void onTestSayhitResult(String result)
    {
        log.info("testSayhitResult:"+result);
    }
}
